<?php
/**
 * Created by PhpStorm.
 * User: ASUS
 * Date: 2019/11/29
 * Time: 16:28
 */

namespace App;


class Mongodb
{
    public static function connection($tables)
    {
        return app('db')->connection('mongodb')->collection($tables);
    }
}